package com.shop.domain;

import java.util.Date;

/**
 * 订单
 * 
 * @author wenjuanhenxing
 * @version V1.0 Order.java 2016-2-9 下午12:54:30
 */
public class Order {
	private Long id;

	/** 商品id */
	private Long goodsId;

	/** 数量 */
	private Long count;

	/** 价格 */
	private Double price;

	/** 买家id */
	private Long customer;

	/** 卖家id */
	private Long seller;

	/** 创建时间 */
	private Date createTime;

	/** 订单状态 */
	private Integer status;

	/** 用户评价，true 好评，信誉 + 1，否则 - 1 */
	private Boolean customerEvaluate;

	/** 卖家评价，true 好评，信誉 + 1，否则 - 1 */
	private Boolean sellerEvaluate;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(Long goodsId) {
		this.goodsId = goodsId;
	}

	public Long getCount() {
		return count;
	}

	public void setCount(Long count) {
		this.count = count;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Long getCustomer() {
		return customer;
	}

	public void setCustomer(Long customer) {
		this.customer = customer;
	}

	public Long getSeller() {
		return seller;
	}

	public void setSeller(Long seller) {
		this.seller = seller;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Boolean getCustomerEvaluate() {
		return customerEvaluate;
	}

	public void setCustomerEvaluate(Boolean customerEvaluate) {
		this.customerEvaluate = customerEvaluate;
	}

	public Boolean getSellerEvaluate() {
		return sellerEvaluate;
	}

	public void setSellerEvaluate(Boolean sellerEvaluate) {
		this.sellerEvaluate = sellerEvaluate;
	}

}
